home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 17 / Commodore_Free_Issue_17_2008_Commodore_Computer_Club.d64 / t.b guide 2.2 < prev    next >
Text File  |  2023-02-26  |  12KB  |  387 lines

  1. u
  2.  
  3. In the Beginning
  4. By Lord Ronin from Q-Link
  5.  
  6. Chapter 2, Section 2
  7.  
  8. Another thing that might toss you a
  9. curve in what I wrote above for the
  10. screen. The screen is white and the
  11. words are in black. Or some other form
  12. of colour, and the words may not say
  13. exactly the same thing as I wrote.
  14. Don't worry too much. Some hackers
  15. burned their own main chips. Adding
  16. their colour scheme and maybe their
  17. own names. I have seen it, but can't
  18. tell you how it was done with the chip
  19. burner. OK there is another major thing
  20. that you may see and if you do, then
  21. you are very blessed. You will also
  22. have been wondering why I didn't
  23. mention that little toggle switch on
  24. your C=64. Well if you see the words
  25. "JIFFY DOS" on that starting screen.
  26. You have the special replacement chip
  27. installed. I'd rather save that till
  28. later on, in the parts about all the
  29. additive things for the C=. The
  30. commands for things that I will
  31. shortly present, work with the jiffy
  32. dos chip. A great chip, I know, as
  33. almost all of my Commodore items have
  34. it installed. Anyway, for you that
  35. little toggle switch will turn the
  36. chip on and off. For now don't worry
  37. about it, we will over that later.
  38. Will tell you that it is going to
  39. shorten your loading time one hell of
  40. a lot.
  41.  
  42. Saying that the system comes on, and
  43. that you have a disk drive, and that
  44. you have some disks. Which is the
  45. general way that people have gained
  46. these 2nd hand collections. I know
  47. that you want to see what this machine
  48. does before I go over the users manual.
  49. OK I did the same thing. So pick a
  50. disk, any disk at all. Slip it in the
  51. drive, lable side up. <actually it
  52. reads the bottom side of the disk>
  53. Make certain that it is in securely.
  54. Lock it in place and .... Save for
  55. possibly the drive making a little bit
  56. of noise nothing happens.
  57.  
  58. Time to start learning the system. So
  59. you have to tell the drive to do
  60. something. Yeah I said the drive, and
  61. not the disk. You see unlike the other
  62. systems. We use a smart drive. That
  63. means to say that there is a micro
  64. processor in the drive. We talk to it,
  65. and not the OS on the disk. OK there
  66. really isn't an OS <Operating System>
  67. on the disk as you may understand it.
  68. On that note, we use GCR formatting,
  69. the other system that we call the
  70. "heretic" uses MFM. Nope not a clue as
  71. to what that means, and it is
  72. unimportant for us at this moment.
  73. Suffice to say in our format, well
  74. that 1.44megger disk I mentioned, it
  75. is 1.6megs for us.
  76.  
  77. Type the following on your keyboard.
  78. It should be displayed on the screen.
  79.  
  80.  LOAD"$",8
  81.  
  82. after that, press the RETURN key.
  83.  
  84.  Screen should say a few things. The
  85. light should flash rapidly on the
  86. drive. When that is all done, in a few
  87. seconds. The cursor, that is that
  88. solid box, will be flashing and it is
  89. time to type in the following.
  90.  
  91.  LIST
  92.  
  93. and then press RETURN.
  94.  
  95. All works well, and you have a bunch
  96. of stuff that scrolls up the screen. 
  97. Stuff that looks odd and weird to you.
  98. Looked that way to me and I had no
  99. idea what was going to happen. Below I
  100. am placing an example. That we well
  101. lightly discuss. After that, I will
  102. cover what may have gone, or looked
  103. like it went wrong.
  104.  
  105.  
  106. 0"THE VILLAGE BBS   "VC 2A
  107.  
  108. 90 "LOST CAT 71"     SEQ
  109. 100"LOST CAT 72"     SEQ
  110. 40 "EDSTAR II"       PRG
  111.  
  112. 434 BLOCKS FREE
  113.  
  114. Well it will look a bit like that.
  115. Could be shorter and could be longer.
  116. Besides, I am not sure how you are
  117. reading this, so the format may not be
  118. exact. Starting at the top. That 0
  119. means that it was written or read on
  120. device 0. This is hang over from the
  121. days of multiple drives on one device
  122. number. Don't worry about it. "THE
  123. VILLAGE BBS" is the name of the disk.
  124. That is what I called it when I
  125. formatted it. At this point I should
  126. mention that in normal operation it
  127. will read in upper case. I have more to
  128. say on the case part when we go to the
  129. manual information. That "VC" is the ID
  130. code that I create for the disk during
  131. formatting. The drive/computer uses
  132. this for the map of the disk. Lets
  133. leave it at that point for now. "2A"
  134. means it was done on a 1541, or similar
  135. disk drive.
  136.  
  137. That may be a little different for
  138. you. But now we come to the really big
  139. difference. On the next line we have
  140. for the first one "90", that is the
  141. number of blocks that the file takes.
  142. Then there is the name that I gave the
  143. file. Ah but that is followed by the
  144. "SEQ". Short for Sequential. Avoiding
  145. the tech gear head stuff. Think of it
  146. as a text file. In the illustration,
  147. that is what it is exactly. But these
  148. SEQ files are more than that, and not
  149. really needed to explain more at this
  150. stage. OK lets move to "EDSTAR II".
  151. That is the name of the "PRG" that I
  152. use for most of my editorial writing.
  153. In fact it is what I am using to write
  154. this series. But it is listed as the
  155. PRG, or Programme file type.
  156.  
  157. At the bottom it tells us how many
  158. blocks are free on the disk. I didn't
  159. know of any form of measurement. So I
  160. just accepted this at face value as
  161. the way it is done. You may be coming
  162. from another from another style of
  163. measurements. Well the C= mainly uses
  164. blocks. But some users also measure in
  165. KB. Personally I don't. However you
  166. may need a conversion. So in rough
  167. terms, 4 blocks = 1KB. Right that
  168. seems too small to do anything. Well
  169. lets talk about that text file of 90
  170. blocks. When printed out it will be
  171. around 8-10 pages of text. See we can
  172. do more in less. That is one of the
  173. parts of interest to people in the C=
  174. community. Like I said early, need to
  175. relearn about computers. But that is
  176. why you are reading this rambling
  177. series. <BG>
  178.  
  179.  So now then, what if you didn't see
  180. anything like the above on the screen?
  181. Well there are a few reasons for that,
  182. and you will run across them over
  183. time. First thing is that there was a
  184. rattle, a grunt and then nothing on 
  185. the screen. Most of the time this
  186. means that the disk isn't formatted.
  187. If you have jiffy dos on your C=.
  188. Press the  key and then return. You
  189. will see something like 74,drive not
  190. ready,00,00. For those that don't have
  191. jiffy dos. We aren't going to do the
  192. long type in thing to see the error.
  193. At this time, I'll quickly add.
  194. Under the above conditions you have an
  195. unformatted disk. Right, it just came
  196. out of an official company box, and
  197. the box says that it is ibm formatted.
  198. That is true, it is ibm formatted, it
  199. isn't CBM formatted. Remember we use a
  200. different formatting system. And no
  201. not at this time am I going to tell
  202. you how to format the disk. Not till I
  203. have covered some other things. As you
  204. can destroy a working disk of data, at
  205. this stage. I know, did it several
  206. times myself when I started.
  207.  
  208. Here is a something that I must toss
  209. in at this stage. Your disk should
  210. read, ah that is for the blank ones,
  211. that it is a "double sided, double
  212. density" disk. That might be written
  213. as "DS/DD", or even "DD/DS". Do not
  214. try High Density disks, "HD". Do not
  215. use Single Density disks, "SD". HD
  216. will make your system grunt and
  217. rattle. But won't do a thing for you.
  218. SD ones, will do the same rattle
  219. stuff, but also screw your head up on
  220. the drive. Takes a lot to put it back
  221. in place. So speaketh the voice of
  222. painful experience.
  223.  
  224. Look at the drive and if that
  225. generally green light, is flashing at
  226. a regular rate. There is a problem.
  227. I'll deal with some of this in a
  228. while. But here we are going to deal
  229. with nothing shown  in a directory, or
  230. some weird stuff on the directory.
  231. Before going into anymore disk things
  232.          
  233.  I know that you aren't ready to do
  234. this yet. Yet you need to know this
  235. point. An experienced programmer can
  236. bugger up the directory. Yes he can do
  237. it intentionally. You may see a disk
  238. with a name, and an ID code, and it
  239. tells you that the disk has 664 blocks
  240. free. If this seems to be a factory
  241. disk, I mean one that has a fancy
  242. lable on it from a company. Your disk
  243. is suspect. No not that it is bad.
  244. That they have hidden the directory.
  245. The programmes on the disk may still
  246. work fine. You just can't see them in
  247. this way. Really you can't tell till
  248. you try to load a programme. Hang in
  249. there we will get to that part.
  250.  
  251.  If all you see is a 0, and not all
  252. the time does that show. Plus what at
  253. first glance looks like a castle
  254. tower, or the rook in a chess set. You
  255. have a corrupted disk 99.99% of the
  256. time. Actually that rook looking thing
  257. is the quote mark in reverse video.
  258. This happens for several reasons.
  259. Mainly a bad to incomplete format of
  260. the disk. Like what happens if you
  261. yank the disk out before it is
  262. finished formatting. Yeah I've done
  263. that as well.
  264.  
  265. Another freaky common one is the size
  266. of the file being like 1328 or some
  267. other fantastically high number. Since
  268. the 1541 disk is only 664 blocks. That
  269. can't be right and it isn't. I have
  270. seen that mostly in decompressing some
  271. files. Which didn't decompress right
  272.          
  273. OK I was just reminded that there may
  274. be some readers that have downloaded
  275. files for the C=64 from Websites. You
  276. may want to put them on disk and start
  277. playing with them. Sorry guys, ya just
  278. gotta wait. What you have is probably
  279. a .D64 extension on the file name.
  280. That is made for use with the
  281. emulators. Length of the file for one
  282. side of a 1541 disk is 689 blocks.
  283. Ain't gonna fit, and even if you put
  284. it on a 1571 disk.
  285.  
  286. File won't run in the .D64 format.
  287. BUT! We have tools to make it work for
  288. you. Another thing to talk about in
  289. the series. Love to tell you that was
  290. a ploy to expand on the fact that
  291. there is a mess of things on the Inet
  292. for the C=. Pushing the greatness of
  293. the C=. But my dear little Vixen,
  294. reminded me about the DL problems we
  295. have dealt with in the users group.
  296. OK one last thing that you may see on
  297. a disk in the directory. Won't see it
  298. very often. I present it just to show
  299. some of what people have done with the
  300. C=. The directory can show up in
  301. coloured text. Don't know how that is
  302. done. One users group was talking
  303. about it and did it on their disks. OK
  304. that was the penultimate last thing. I
  305. just flashed on one that is a freak
  306. out for the beginner and an irritant
  307. to others. You go for a listing of the
  308. directory. You don't get one, as the
  309. computer suddenly starts to load the
  310. programme. Can't exactly remember how
  311. that is done. Though I did it a few
  312. years ago. Basically speaking it is in
  313. the ID code and some simple tricks, so
  314. that when the directory is read. The
  315. LOAD command is executed for the first
  316. programme on the disk.
  317.  
  318. Well since I don't know what disk you
  319. used. Guess it is time to do a little
  320. more on file types. PRG and SEQ we
  321. touched upon. Now for USR, this stands
  322. for USeR file. Simple and not fully
  323. accurate, it is a file type that is
  324. user defined. Don't worry about it
  325. right now. You will see a lot of these
  326. in using the prg Geos. The next one to
  327. talk about is REL. Standing for a
  328. RELative file. Another one not to
  329. worry about just yet. Not very common.
  330. Most of the time this file is used to
  331. create a form of list. Lets leave it
  332. at that for now. Last one to mention
  333. is the DEL file.
  334.  
  335. As you may surmise this is for
  336. DELeted. Exactly what this is, I don't
  337. know. Seen it in a few places. May be
  338. a special thing for another level of
  339. Basic for the C=. I have only made
  340. them with one programme. Which was a
  341. 1581 directory manipulator. Doesn't
  342. seem to do anything that I can find
  343. out. So we won't worry about it.
  344. That taken care of, there is one other
  345. thing to add to the directory listing.
  346. Symbols on the directory. Like in the
  347. below.
  348.  
  349. 93 "BEGINNING 1"    SEQ<
  350. 0 "KITTY BOX"      SEQ*
  351.  
  352.  That < symbol means that the file is
  353. locked. You can't scratch it. Need a
  354. tool, or the programming lines to type
  355. in to unlock the file. Many Geos files
  356. will have that < on the line. OK then
  357. we have the *  symbol. You can see
  358. that the size of the file is 0. This
  359. is called a splat file. It isn't
  360. really there, most of the time.
  361. Specifically it means that the file
  362. was opened for the copy but it wasn't
  363. closed. There are ways to close it,
  364. but for me I just delete the file and
  365. try again.
  366.  
  367. OK I know that you want to see what is
  368. on the disk. Before we go into the
  369. manual of the C=64. So I will tell you
  370. how to load a file, and what you may
  371. find. Now then the traditional way to
  372. load a programme. Right a PRG, that is
  373. the only thing that you can load <at
  374. this point in time>. So below is what
  375. you type on the screen.
  376.  
  377. LOAD"0:*",8,1
  378. press RETURN
  379.  
  380.  OK this is the one that I use the
  381. most. Actually it is to load a ML <we
  382. will get to that> prg. But it works
  383. for a BASIC one as well, most of the
  384. time. Have to explain that more in the
  385. next session. Out of space again.
  386.  
  387.